package inventory.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author sxt
 * @since 2019-11-06
 */
public class MaterialTypical extends Model<MaterialTypical> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "typical_id", type = IdType.UUID)
    private String typicalId;
    private String categoryId;
    private String typicalName;
    private String brand;
    private String typicalModel;
    private String unit;
    private String managerId;


    public String getTypicalId() {
        return typicalId;
    }

    public void setTypicalId(String typicalId) {
        this.typicalId = typicalId;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getTypicalName() {
        return typicalName;
    }

    public void setTypicalName(String typicalName) {
        this.typicalName = typicalName;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getTypicalModel() {
        return typicalModel;
    }

    public void setTypicalModel(String typicalModel) {
        this.typicalModel = typicalModel;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getManagerId() {
        return managerId;
    }

    public void setManagerId(String managerId) {
        this.managerId = managerId;
    }

    @Override
    protected Serializable pkVal() {
        return this.typicalId;
    }

    @Override
    public String toString() {
        return "MaterialTypical{" +
                "typicalId='" + typicalId + '\'' +
                ", categoryId='" + categoryId + '\'' +
                ", typicalName='" + typicalName + '\'' +
                ", brand='" + brand + '\'' +
                ", typicalModel='" + typicalModel + '\'' +
                ", unit='" + unit + '\'' +
                ", managerId='" + managerId + '\'' +
                '}';
    }
}
